/* pages/my/my.wxss */
.my-page {
  padding: 0;
  background-color: #f1f1f1;
  height: 100vh;
  padding-bottom: 120rpx;

  .becomevip {
    padding: 10rpx 30rpx;
    text-align: center;
  }

  .pdb100 {
    padding-bottom: 100rpx !important;
  }

  .user-info {
    padding: 40rpx 20rpx;
    background-image: url(https://elf.byxfd.com/avatar/me05.png);
    display: flex;
    align-items: center;
    position: relative;

    .home-page {
      flex: 1;
      text-align: right;
      display: flex;
      align-items: center;
    }

    .warning {
      z-index: 9999;
      width: 40rpx;
      height: 40rpx;
      position: absolute;
      top: 30rpx;
      left: 15rpx;
      color: #ffffff;
      font-size: 36rpx;
      background-color: red;
      border-radius: 50%;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .user-avatar {
      width: 110rpx;
      height: 110rpx;
      margin-right: 20rpx;
      // overflow: hidden;
      position: relative;

      image {
        width: 100%;
        height: 100%;
        border-radius: 50%;
      }

      .icon-viphuiyuan {
        position: absolute;
        bottom: -10rpx;
        right: -5rpx;
        font-size: 30rpx;
        color: #ffd700;
      }
    }

    .name-info {
      height: 90rpx;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;

      .user-name {
        font-size: 32rpx;
        width: 500rpx;
      }

      .follow-fans {
        display: flex;
        align-items: center;
        margin-top: 14rpx;
        width: 500rpx;

        .follow-item {
          font-weight: 600;
          font-size: 24rpx;
          padding-right: 8rpx;
          border-right: 2rpx solid #000000;
          margin-right: 8rpx;
        }

        .follow-item:last-child {
          border: none;
        }
      }
    }

    .become-vip {
      position: absolute;
      bottom: 0;
      padding: 12rpx 20rpx;
      background-color: #121617;
      color: #ffffff;
      width: calc(100vw - 40rpx);
      border-radius: 20rpx 20rpx 0 0;
      font-size: 30rpx;
      display: flex;
      align-items: center;

      .icon-viphuiyuan {
        color: #ffd700;
        margin-right: 20rpx;
      }

      .become-none {
        font-size: 28rpx;
        padding: 0 12rpx;
        border-radius: 10rpx;
        background-color: #ffd700;
        color: #000000;
      }
    }
  }

  .balance-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20rpx 20rpx;
    background-color: #ffffff;
    border-radius: 20rpx;
    padding: 20rpx;
    box-sizing: border-box;

    .balance-item,
    .collection-item {
      width: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      span {
        font-size: 26rpx;
      }

      .item {
        display: inline-block;
        margin-bottom: 10rpx;
        font-weight: 600;
        font-size: 28rpx;
      }
    }
  }

  .service {
    margin: 20rpx 20rpx;
    background-color: #ffffff;
    border-radius: 20rpx;
    padding: 20rpx;
    box-sizing: border-box;

    .title {
      font-size: 30rpx;
      color: #000000;
      font-weight: 600;
      margin-bottom: 32rpx;
    }

    .service-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      // margin-right: 40rpx;
      min-width: 150rpx;

      text {
        font-size: 24rpx;
        display: inline-block;
        margin-top: 20rpx;
        font-size: 22rpx;
      }
    }
  }
}
.iconfont {
  font-size: 38rpx;
  line-height: 38rpx;
}
